import router from '.'

export default[
    {
        path: '/Talent/TalentList',
        name: 'TalentList',
        component: () => import('../views/Talent/TalentList')
    },
    {
        path: '/Talent/Unread',
        name: 'Unread',
        component: () => import('../views/Talent/Unread')
    },
    {
        path: '/Talent/Unemployed',
        name: 'Unemployed',
        component: () => import('../views/Talent/Unemployed')
    },
    {
        path: '/Talent/Accepted',
        name: 'Accepted',
        component: () => import('../views/Talent/Accepted')
    },
    {
        path: '/Talent/Employed',
        name: 'Employed',
        component: () => import('../views/Talent/Employed')
    },
    {
        path: '/InfoDetail',
        name: 'InfoDetail',
        component: () => import('../views/Talent/InfoDetail'),
        props(route){
            return{
                id:route.params.id,
                status:route.params.status,
            }
        }
    },
    {
        path: '/UnreadInfoReply',
        name: 'UnreadInfoReply',
        component: () => import('../views/Talent/UnreadInfoReply'),
        props(route){
            return{
                id:route.params.id,
                phone:route.params.phone,
                name:route.params.name,
            }
        }
    },
    {
        path: '/AcceptedInfoReply',
        name: 'AcceptedInfoReply',
        component: () => import('../views/Talent/AcceptedInfoReply'),
        props(route){
            return{
                id:route.params.id,
                phone:route.params.phone,
                name:route.params.name,
            }
        }
    }
]